package com.atguigu.tingshu.album.client.impl;


import com.atguigu.tingshu.album.client.CategoryFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.album.BaseAttribute;
import com.atguigu.tingshu.model.album.BaseCategory3;
import com.atguigu.tingshu.model.album.BaseCategoryView;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Slf4j
public class CategoryDegradeFeignClient implements CategoryFeignClient {


    @Override
    public Result<BaseCategoryView> categoryfindAttribute(Long category3Id) {
        log.info("CategoryFeignClient.findCategoryByCategory3Id.....已经执行");
        return Result.ok();
    }

    @Override
    public Result<List<BaseCategory3>> findTopBaseCategory3(Long category1Id) {
        log.info("CategoryFeignClient.findTopBaseCategory3.....已经执行");
        return Result.ok();
    }
}
